package kit4j.view.awt.common;

import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JTextField;

public class DefaultSwingComponentCreator {

	public static JLabel createLabel(String text) {
		return new JLabel(text);
	}
	
	public static JTextField createTextField(int size) {
		return new JTextField(size);
	}
	
	public static JList createList() {
		return new JList();
	}

	public static JPanel createPanel() {
		return new JPanel();
	}
	
	public static JComboBox createComboBox() {
		return new JComboBox();
	}
	
	public static JButton createButton(String text) {
		return new JButton(text);
	}
}
